/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 发票邮寄查询 (OEM)

// 查询	/invoiceRelevant/selectRegistration
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/invoiceRelevant/oem/queryList`, params)


//  导出	/invoiceRelevant/oem/queryExport
export const exportExcel = (params) => axios.post(`${SERVER.WHOLESALES}/invoiceRelevant/oem/queryExport`, params, {
  responseType: 'blob'
});

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
